package com.letoken.platform.repo.admin.req.config;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "查询系统公告配置请求对象", description = "查询系统公告配置请求对象")
public class QueryAnnouncementReq extends QueryReqBase {

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "startTime", value = "开始时间", example = "2020-09-30 21:35:53")
    private LocalDateTime startTime;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "sendTime", value = "结束时间", example = "2021-09-01 21:35:53")
    private LocalDateTime sendTime;


}
